cleanup code, rewrite to classes, added tmdb and help