made knockout work with new structure and moved stuff into an app directory