Removed unused code
Added metrics tests and name refactor
Added imports for new modules
Added command tests and queue, observe and cache methods