code style fixed & scons supported & DIR reoganized