updating build scripts and adding travis file