Improve build settings

Fixes #6
Remove hardcoded build settings
Improve integration with Xcode build settings

Plus:
- Setup Google test & Google mock
- Initial unit test cases