PHP Bitcoin. Class