Implement basic plugins framework