Refactoring

-Remove config and metadata parsing, that will be done on a higher level.
-Write tests.
-Update project settings.