added @export for all functions and updated namespace