Refactored app structure. Better normalizing distribution name. Replaced restify with express