Micro middleware stack for general purpose