created a base activity class, kinda started photo uploading, made some things more private -__-