adding basic initializers

Added some basic variable initialization within the init method.