Labelization organizing

This should be a clean pull. 

Front.js and labels.js are split apart, and references to an "f" are added in main.js.