Micro Operating System for embedded systems with support for plug and play devices