New error state handling and propagation
Moved files around (now have main/ and test/ folders under src/)
Reconfigured to use gradle properly