DB connection and index view

Created DB connection and echoed out its content in index view