Rename package from liswat to core, add doc.go