preliminary draft of class that will write to fota partition