Split project into 3 modules (api, business logic, web)

Close #20