done manager.c and main.c. Start work on library