BROKEN CODE. Starts refactoring the file structure.