Lightweight Application Lifecycle Management Using State-Cards