Fixed the problems (.gitnore file, depedency, main pom).