Fixed JPA entity manager dependencies, implemented DAO structure - 40%.