Refactor all the source

Controller initializer, ViewGerenerators