rewrote app using a page-middleware based setup
updated version to 0.0.10