Main Framework

Code framework, to be extended allowing addons.