added Open file dialog
added new class ImageDocument