Update to generify directories for compile across different operating systems and updates to ssh infrastructure to allow port specification when connecting.