Old code - seems like a base implementation of a site with an api option