create private method for initialization, listener and command registration.
Do not use config spawn if y coordinate is equal to 0
Implement database library.