Add lock, database to constructors arguments

Updated:
-All PreparedStatement