Moved client and server to separate folders. Optimized file handling. Introduced sorting.