pack modules as jars instead of wars, various changes