split project into 2 maven modules

@aledsage can you please review this