added 404 support (squashed commits)

fixed indentation, added comments, fixed string literal

fixed multiline string literal

fixed comments and strings