add sort-function and fix view, when no site exist
cleanup unneeded files