Adding pom.xml to make apklib, and do some changes