switched to real model library with localstorage persistence