adding edit functionality and adding files and modules