Database connection and some visual remake