AssignID() is removed

- This is done internally by the database for thread safety
Updated ConnectionManager

- Changed the code to reflect the changes in the database functions