divided into classes
changed to maven project