Refactoring,added info to api pom