Minor fixes

- Added `lint` step to build process
- Cleaned up code