Implemented Views and Controls. Fixed some minor erros.