Added build scripts, misc code changes.
Git ignore updated