Added build script, versioning, tweaked auto-config