Added readme. Handling mysql errors
Added cleanup cron job
Added basic unit tests and travis configuration