adding initial library and application code