Edited the project structure and changed the PiServer into a static library