Removed class library, linking from c-function repo instead
Added proper release on hard exit. Updated server example script