documented database.go, added license, began work on readme