Added base texture class and basic input handling