make right maven structure,  replace resources to new folder, add dependencies