Work towards memory manager and global constructors