Cleans up directory structure

 - Adds PhpUnit configuration file
 - Moves test and source code to a separate directory
Adds Composer file.