started implementation of new json config and generalization of views/controllers