Lab submission

- Supports TravisCI testing
- Added error checking