Revert "Added most of core classes and db handler (I will finish this tomorrow morning)"

This reverts commit 55f77c6c943f6cb0e5090361a43eac20d05de26d.