cleaned out dead code and backup files