Make project more spring-friendly.

- added annotations, transactions...