Condense express app code