WIP implementing server
WIP with smaller buffer handling