Made file opening work, added bash scripts for build and testing.