Framework for Multi-Armed Bandits