Changed model and basic hibernate mapping(without relationships).
Added necessary files.