adding asset support (fixes #3)
adding more middleware (fixes #4)