Clean up gradle build configuration

Restore default gradle dir structure
Clean gradle configuration
Update gradle plugin
Clean library manifest


This make library more modern.