add router, split app