added camera preview class and increased min sdk