Added automatic scaling, added object queue & added a testing file