deleted duplicated function file, moved base_to_int, etc, to routines