Restructure of maven architecture into modules

Signed-off-by: Tom Hadkiss <tomhadkiss1@gmail.com>