updated composer file to use require and added bin