restructured examples and added docs to build