Reorganize source code into Maven project format