* added copyright notices
* included lodepng in externals
* moved some api's around