filtering category works now.

clean directory, delete useless files.
add register