Created first draft of Fetch and decode states. Decode needs more work