convert to gradle
added the necessary files