Memory: Corrections to start/end allocation
Modified inclusions to make them global and changed disclaimer/copyright