Added function declarations in header, added function to get process by entry_id