Add composer files, move class to src/ directory