Init function
Big allocs working, no tests yet