app modules to commonJs