Prepare main app module.