Move bind to utils, fix copyright headers