Added Base Classes and most variables, and some simple methods