Got rid of the superficial package structure, added a new file to read configs

TODO add tests.