Removed clientfiles/serverfiles variable from module generation code. Instead, client and server files are in one list with special markers in case they are for server or client only.