Identify the main roles and responsibilities of key bodies in the legal system