added css and now uses a db instead of files