Add init code and build script for travis