added the core
pretty much first commit