Added core.go with Filter; cleaned up syntax in graph.go and todo.go