adds more make targets and improves the server function
Making progress, still getting segfaults though