Framework for crossplatform applications