Add Maven and Spring support.
Refactor into modules.