creates puts handler, refactors storage system