continued refactory. adding notes routes and tag routes. more work to do still