refactored criterion to not take in a statment. changed the inteface for prepared statement builder. TODO - More unit tests for prepared statement builder