clean up duplicate code, move authlib to dynamic storage, add test capability to build.gradle