Changed license to GPL v2
Raised version number to 0.5
Made all functions static