Added basic Initialization function.