add license
move Main to core package
fix build script
add dependency on Guava
add testing dependencies & task for integration tests