renamed files & added API documentation comments