refactoring

moved ArtFrame class outside of main.js