Main view almost done. Only search thing does not work