Extracted FormulaCursorAdapater into a separate class so it can be REUSEEEED