Fix memory error
Add debug symbols
Add a readme