Use smpl-build-test to simplify build script

First phase, lint script is now externalised. Stay tuned for more code
move.