improving module app
extracting common utility methods from module app
adding support for module names
adding type for module label