Added init/setup functions to main