new method free mem
a bit code cleaning
update Makefile
Merge pull request #56 from rallenz/master

a bit code cleaning