Second version and final version from tutorial, now with database and stylesheet.