chess puzzle decomposed into jade template, stylesheet and route handler; jade templates refactored;