Initial commit of package core: manager.go, status.go, doc.go
main: use core package to invoke manager