changed a directory name

changed resources to res and improved window class