move static and media to public dir