Move initialize() to its own file