Changed how object is formatted. Added some config functions