Huge changes in the promises to enable sync operation of the promises, can easily be changed to parallel in the future but need to test the affect of getting the identity back with multiple inserts happening at the same time
Implemented getLastInsertedId() into the dal