fix #2 simplify spring module definition