#12 Improve build script with using classes. Implement class into build.php script.