updated Makefile in root folder
got rid of unnecessary memcopy's without making the code unreadable
Merge pull request #7 from funkysash/master

Improvement of Catena-DBG and Makefile fixes