created properties and starting the init functions