made MemoryBounding a stand alone module and created first unit test for MemoryBounding