Spring Integration

- added applicationContext.xml for spring container
- created service layer
- made postgres-specific changes in hibernate entities
- added Main class for manual testing