Boundedness of the Bergman projection and some properties of Bergman type spaces