created fileupload directive which resize the image and load it
remove old images
implement basic imageupload on client and server