class gallerymaster created

created class with example
example works well,
todo: testing delete and rebuild