Format and cleanup
Apply code conventions
Refactor LiteDeviceResolverTest