Updates structure to support gradle builds and maven releases.