reorganize apimodule/nextstep, inject cookie
remove unused files