remove spyware
fix mysql connection
create directory recursively
some more db rework