added core.bind()
simplified core.bind() a bit
Merge pull request #16 from der-On/master

added core.bind()