removed unused files; fixed HTTP methods