Modified exception handling
Added database documentation. Added setup script