Updated MainActivity with basic camera functionality