Adding AlignedMallocator and moving traits into its own file