add hapi and create controllers