Revert "put the lib in the core.. blah not pretty but want to start really hacking the core"

This reverts commit 33bb5704102d46c6bd5c777dff466c8d2e3ded4c.