delete unused packages
Moving backend model stuff to its own file