Implementation of a platform for the automation of legal affairs