A lightweight webapp framework for routing control and page transitions