added gradle directory
refactored as api rather than pm_api