Added custom memory allocator

Fixed some components issues