Move sources to src folder and create PHPUnit tests