Refactor/modularisation

Large refactoring of the code base into import & export modules. Also migrated some functions to a new nif_utils helper module rather than using the nif_common class. Still contains some issues such as matrix import and also an issue with glow textures.