Added data access interface
Added statement registry
Added DAO interface
Fixed bugs throughout the framework