big refactor: removed unnecessary code and files