added basic cms, refactored static views into dynamic ones