Refactored the workstation states to one file and added E consumption logic to workstation and tests.