refactored entire codebase to a more lean approach
fixed live tests