Added locking to database, Edited README

Made client directory