Removed subdirectory file
Removed test logic
Removed unused activerecord