Swapped east and west
Added javadoc and refactor
Updated pom