Removed excessive headers and added automatic database migrations