started making core.clj the public api
public api is in core.clj now
added tests
core.clj now contains the public api