Index sync job

Fix for #75. Got rid of the controller and made it into a Quartz job with a configurable frequency. Also added an option to make the index sync on startup.
isnt possible to use the environment inside of the frequency method of the controller?