refactored some stuff
small fix in load libs
better lib find
Merge pull request #2 from Arkham/refactor

refactored some stuff