Brings back profit_table

This branch brings back profit_table, adds dev option to grunt and removes a few unused functions.