all functionality related to memory manegement has been moved to the newly created 'allocation.h'