added two missing scopes in pom
moved MypetEntity interface and event classes to api package