refactor
added viewManager and remade views | cleaned index