basic working app with store and retrieve functionality