Made AES into an object class with two constructors. Small changes to MainActivity