Removed unnecessary DLL references and improved codebase.