cleaned and moved frame models to new module