Using AOP for non services

You need to clean up the OpenMRS dependencies because they are missing in the api sub project which leads to compilation issues and the pointcut expression also needs to be fixed.