An application framework for Lithium