Improvements & others

Clean up, added build files, improved client-server file sending and
receiving, fixed some bugs, ...