moved all init to one file