Moving java serial port communication code to top level lib folder

Working on revamping compile process, will be implemented with gradle