created base entity BaseEntity, setup encoding, updated version of hibernate to 4.0.2.
Added DDLGenerator and create-db script.