framework refactored with advantages of API 8
loading assets part