Added functions to register abstraction from memory
Reorganized includes order
cleared and reorganized some code
Merge pull request #46 from Kyew/master

Added functions to register abstractions from memory