Reformatted code and reworked how db instantiated
Added pycharm internal folder