Added gradle file

Initial gradle file for Max, not yet finished.