removed unused dal.update()
TODO
Implemented Pool (not sure if it works to 100%, but it seems so) and refactored DAL (removed almost all code redundancy :DDDDDD deleted almost 70% of the coe without removing any functionality)