added server scripts
minor changes for handling spaces before and after tags
few files renamed
added modules for online adaptation