Moving stuff around and added reference/Reference.java

Signed-off-by: Madx-com <Madx.com@gmail.com>
Setting up some basic gradle build script.

Signed-off-by: Madx-com <Madx.com@gmail.com>