Refactoring and CMS functionality

Implemented admin functionality for the block module.
Core CMS functionality is now complete as soon as the parser is fixed
on the infinite loop issue ^_^