DB checks and user permissions issues (installation)

-Will check if database exists and if not, it won't start, instructing for installation.
-Will check if the user is installing as root. User can install as root but it is warned that it may cause problems later.(They should install as a normal user.)
-Will check write permissions on the installing directory as well.