Initializing postgresql and starting the server