clean classes to make them work with namespace
use base64_decode to get data from file