Simplified main class