CFY-313 refactor bash types to different file and remove un needed interface declaration