Convert project to maven compatible

Maven will be used for building and packaging.
resolving conflicts