Configure cmake for server. Create base file