Towards a Flexible and Secure Runtime for Embedded Devices Topics: Software Architectures In Proceedings of the 4th International Conference on Pervasive and Embedded Computing and Communication Systems PECCS - Volume 1, 168-173, 2014 , Lisbon, Portugal