Updated controllers behavior. Profit view added.
Code cleanup.