Bugfixes

Fixed BOM whitespace problem, fixed db connection error, started
barebones for picks page, added rules.