Organized files and added example cgi