Added endpoint to store master tasks