adding main module and routes