Upgrade to maven

@alexey-rise Please review.