Implemented missing functionalities. The basic workflow is done.