Update for Nim 0.10 and cleanup example app for redis/postgre