Rename main file
Better memory management
Removed log from JS