An API for Genome Apps