Switched to GPLv2
Removed dead code
Removed hardcoded storage PIDs (should be set through constants editor or other means)