Removed initial call of beat
Implemented Process class.
Moved heartbeat logic into process.
Removed creation of proces files (has to be done by the monitor)
Updated handling of file