remove unnecessary files
const div, const sub are added.

const div and sub calculation logic are added.
And some refactoring.
refactoring for const calc

get gather the duplicated procedures for const calc.