Added functions to Workflow.
Also changed types of several entities to object wrappers
Also changed add function of generic DAO(new row ID is returned now)
Also fixed update function of generic DAO
Also added rollback function to DBManager
Also changed data type for Date fields
Also updated Statement class(setDate() and getGeneratedPrimaryKey())
Maybe there is something else that I didn't mentioned because forgot or
because of it's minority