added page subgenerator
added home page to views
working state