Added ajax search, changed some structures and added additional routes and small fixes