added server files and compat generator