Removed old API code modules, cleaned up codebase.