Initial 1.0 relese

Changes made to $DB and to composer.json to comply with new functions
Added support for version check