Big package refactor

- Added mac/linux build script (updated readme to reflect this)
- refactored project package structure
- Other minor refactors