Added 'port' parameter to database class.
Added call to database constructor.