Removal of module system + new config system

Final commit for major refactor