finished the mvc pattern, add simplerouter and controllers