document controller, dao,impl

fixed a few string to integers for parameters.. it was just inconsistent.