Made program runnable (added get mthods)