Organizing code and documentating methods