added random images selection, neDB support, upadted routes and views.
added random images selection, neDB support, upadted routes and views.