Check if Fancybox is defined before call it
DB connection in a separate method
General Front/Back-End adjustments on installer

TO DO: install database