Built options hash

accepts option hash and assigns values accordingly