Moved autoGeneratedKeys parameter of named prepared statement to constructor
Moved getLastIndex to DataManager