creates main module