moved preference-related classes to new package
moved preference retrieval to additional thread