building main module