added spring dependency injection and basic logic/DAO classes