Proper code for creation and persistance. API key and such still needed though.