refactor(maintain): add maintain service and update tests