Devide procedures into some modules