added writer singleton file(not finished) and added save/open dialogs with
.painting extention filter