Refactor, work on build.py, add osext & go-raft