Adding method for loading libraries. Fixing code to be compatible with newer version of libsingular.
Autogenerated stuff.
added gitignore
merged stuff