Finish work to get and display /getpatterns. No cache yet