changed build-tool to gradle;

provided FSM transitions
Merge pull request #1 from agrusha/gradle-build

changed build-tool to gradle