Add gallery modul and update media modul

First version of gallery module