added dynamic views and Controllers