Removed DLL requirement from library, refactored library layout.