load libraries and sample class