Devided the library, so test files can be added

Added directory for PHPUnit tests