Set up level framework