implemented some basic models, pair of important view templates. Main page working