introducing private fields
adding setters
adding spring dependencies to pom.xml