Files from old version

Server side algorithms are moved here.