Initializtion and settings form