Added support for re-usable prepared statements.
Started working on criterias and statement factory.