removed useless customer class and replaced with dict