improve code ; add insert functionality;
refactor posts module;
insert image functionality;