Extending the application logic with Apex Interfaces