added dynamic routes, added toggle libraries, created settings page